package com.lmt_14;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.nio.file.Files;

public class CommonIOTest {
    public static void main(String[] args) throws  Exception{
        // 文件复制
        FileUtils.copyFile(new File("src/com/lmt_14/1.txt"),new File("src/com/lmt_14/2.txt"));

        //Files.copy()
    }
}
